<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="wfrmCadInformativo.aspx.vb" Inherits="ICLI.wfrmCadInformativo" ValidateRequest="false" %>

<%@ Register Src="Controles/HtmlEditor.ascx" TagName="HtmlEditor" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="../estilo.css" rel="stylesheet" type="text/css" />
</head>
<body leftmargin="5" topmargin="5">
    <form id="form1" runat="server">
    <div>
        <table id="tbpaginas" runat="server" border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td style="height: 19px" width="15%">
                </td>
                <td style="width: 100px; height: 19px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td>
                    <asp:GridView ID="GRidInformativo" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        CellPadding="0" CssClass="Texto" DataSourceID="AccessDataSource1" ForeColor="#333333"
                        GridLines="None" Width="400px">
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="IDInformativo" HeaderText="IDInformativo" InsertVisible="False"
                                ReadOnly="True" SortExpression="IDInformativo" />
                            <asp:BoundField DataField="Titulo" HeaderText="Titulo" SortExpression="Titulo" />
                            <asp:ButtonField ButtonType="Image" CommandName="select" ImageUrl="~/imagens/alterar.gif"
                                Text="Editar">
                                <ItemStyle HorizontalAlign="Right" />
                            </asp:ButtonField>
                        </Columns>
                        <RowStyle BackColor="#EFF3FB" />
                        <EditRowStyle BackColor="#2461BF" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                    <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Banco.mdb"
                        SelectCommand="SELECT * FROM [Informativo]"></asp:AccessDataSource>
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    <asp:Label ID="Label1" runat="server" CssClass="Texto" Text="IDInformativo" Visible="False"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtidInformativo" runat="server" Columns="10" CssClass="CaixaTexto" Visible="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="text-align: right">
                    <asp:Label ID="Label2" runat="server" CssClass="Texto" Text="Titulo:"></asp:Label></td>
                <td style="width: 100px">
                    <asp:TextBox ID="txtTitulo" runat="server" Columns="50" CssClass="CaixaTexto"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px; text-align: right">
                    <asp:Label ID="Label3" runat="server" CssClass="Texto" Text="Conteudo:"></asp:Label></td>
                <td style="width: 100px">
                    <uc1:HtmlEditor ID="HtmlEditor1" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="width: 100px; text-align: right">
                </td>
                <td style="width: 100px">
                    <table border="0" cellpadding="0" cellspacing="0" width="400">
                        <tr>
                            <td style="width: 100px; height: 18px">
                                <asp:Button ID="btnSalvar" runat="server" CssClass="botao" Text="Salvar" /></td>
                            <td style="width: 100px; height: 18px">
                                <asp:Button ID="btnRemover" runat="server" CssClass="botao" Enabled="False" EnableTheming="True"
                                    Text="Remover" /></td>
                            <td style="width: 100px; height: 18px">
                                <asp:Button ID="btnLimpar" runat="server" CssClass="botao" EnableTheming="True" Text="Limpar" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 100px; text-align: right">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
    <%=script%>
</body>
</html>
